package org.store.pojo;

/**
 * Goods entity. @author MyEclipse Persistence Tools
 */

public class Goods implements java.io.Serializable {

	// Fields

	private Integer id;
	private String graph;
	private Integer belongTo;
	private Double price;
	private String type;
	private Integer num;
	private String name;

	// Constructors

	/** default constructor */
	public Goods() {
	}

	/** minimal constructor */
	public Goods(Integer belongTo, Double price, String type, Integer num,
			String name) {
		this.belongTo = belongTo;
		this.price = price;
		this.type = type;
		this.num = num;
		this.name = name;
	}

	/** full constructor */
	public Goods(String graph, Integer belongTo, Double price, String type,
			Integer num, String name) {
		this.graph = graph;
		this.belongTo = belongTo;
		this.price = price;
		this.type = type;
		this.num = num;
		this.name = name;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGraph() {
		return this.graph;
	}

	public void setGraph(String graph) {
		this.graph = graph;
	}

	public Integer getBelongTo() {
		return this.belongTo;
	}

	public void setBelongTo(Integer belongTo) {
		this.belongTo = belongTo;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

}